home *** CD-ROM | disk | FTP | other *** search
- Path: citicorp.com!mgrant-pc
- From: mike.grant@citicorp.com (Mike Grant)
- Newsgroups: comp.lang.c++
- Subject: REQUEST FOR HELP- UNUSUAL MEMORY LEAK!!!
- Date: Tue, 30 Jan 96 21:56:04 GMT
- Organization: Citicorp
- Message-ID: <4em45k$kjc_001@nagf.us-ny.citicorp.com>
- NNTP-Posting-Host: mgrant-pc.nagf.us-ny.citicorp.com
- X-Newsreader: News Xpress Version 1.0 Beta #3
-
- I need help with an unusual memory leak in a program
- which I have developed. It seems to occur upon entry into
- member functions in a derived string class. The leak is
- unusual in that the memory lost is always 4096 bytes.
- I have no dynamically allocated memory of this size.
-
- My questions are as follows:
-
- Is there any implicit overhead when using C++ classes?
- Especially derived ones?
-
- Overhead that might cause extreme heap allocation
- "behind the scenes" that is not directly related to
- a program's explicit dynamic memory allocation
- requests?
-
- The leak appears to be compiler independent. Could this be a
- design flaw of some sort? As opposed to improper memory handling
- on my part.
-
- Any responses, help or even speculation would be deeply appreciated.
-
- Thanks in advance...
-
- mike.grant@citicorp.com
-